from django.urls import path
from . import views

urlpatterns = [
    path('courses/', views.CourseViewSet.as_view({"get": "list", "post": "create"})),
    path('courses/<int:pk>/', views.CourseViewSet.as_view({"get": "retrieve", "patch": "update", "delete": "destroy"})),
]
